package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.OmcPlan;
import com.csun.cmny.provider.model.domain.OmcSchedul;
import com.csun.cmny.provider.model.domain.OmcSchedulMonth;
import com.csun.cmny.provider.model.domain.OmcShifts;

import java.util.List;

public interface OmcShiftsService extends IService<OmcShifts> {

    /*
    * 批量更新
    * */
    Integer batchUpdate(List<OmcShifts> omcShiftsList);

    /*
    * 根据planId删除交班项
    * */
    Integer deleteByPlanId(Long planId);

    /*
    * 把shifts放入对应的排班方案
    * */
    List<OmcPlan> setShifts(List<OmcPlan> omcPlanList);

    /*
    * 把shifts放入对应的排班计划
    * */
    List<OmcSchedul> setShiftsOfSchedule(List<OmcSchedul> omcSchedulList);

    /*
    * 根据id删除交班项
    * */
    Integer deleteById(Long shiftId);
}
